﻿using Fadada.FASC.SDK.DotNetCore.Attributes;
using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    [RemoteService("/sign-task/block", "POST")]
    public class SignTaskBlock:SignTaskIdInfo
    {
        /// <summary>
        /// 指定的参与方类型：
        /// filler: 填写方
        /// signer: 签署方
        /// 目前暂时是只有签署方会被阻塞。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "actorType",
            Required = Newtonsoft.Json.Required.Always)]
        public string ActorType { get; set; }

        /// <summary>
        /// 指定的参与方在本签署任务中的标识。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "actorId",
            Required = Newtonsoft.Json.Required.Always)]
        public string ActorId { get; set; }
    }
}